<?php

/**
 * Referir filter form.
 *
 * @package    cronos-doctrine
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ReferirFormFilter extends BaseReferirFormFilter
{
  public function configure()
  {
      unset (
        $this['created_at'],
        $this['updated_at'],
        $this['celular']
      );

     //$this->widgetSchema['producto_id'] = new sfWidgetFormInputHidden();

     $this->validatorSchema['email'] = new sfValidatorAnd(array(
          $this->validatorSchema['email'],
          new sfValidatorEmail(),
     ));
  }
}
